<template>
  <router-view></router-view>
</template>

<script>

import { useRoute } from "vue-router";
import {defineComponent,computed} from 'vue'
export default defineComponent({
  name: 'App',
  setup(){
    const matched=computed(()=>useRoute().matched)
    console.log(matched)
  }
})
</script>

<style>

</style>
